import request from '@/utils/request'

// 获取用户列表
export function listUserApi(params) {
  return request({
    url: '/admin/user/list',
    method: 'get',
    params
  })
}

// 用户注册
export function registerUserApi(data) {
  return request({
    url: '/admin/user/register',
    method: 'post',
    data
  })
}
    